<template>
  <div>
      <h1>注册成功</h1>
      <router-link to="/login">
        <button class="login">返回登录</button>
      </router-link>      
  </div>
</template>

<script>
export default{
    mounted:function(){
        this.$store.commit('setTitle','success');
        this.$store.commit('switchIsOriginPath',false);            
    },
}
</script>


<style lang="scss" scoped>
    h1{ 
        margin-top:50%;
        text-align: center;
        color:green;
    }
    button{
        margin-top:15%;
        margin-left:18%;
        width: 65%;
        height: 40px;
        color:white;
        font-size: 20px;
        border-radius: 10px 10px;
    }
    .login{
        background: #009a44;
    }
</style>